.class Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView$c;
.super Ljava/lang/Object;
.source "DuExoGLVideoView.java"

# interfaces
.implements Lcom/esfile/screen/recorder/player/exo/a$g;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;


# direct methods
.method constructor <init>(Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView$c;->a:Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public a(Lcom/esfile/screen/recorder/player/exo/a;)V
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView$c;->a:Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;

    invoke-static {v0}, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->r(Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;)Lcom/esfile/screen/recorder/player/exo/a$g;

    move-result-object v0

    if-eqz v0, :cond_0

    .line 2
    iget-object v0, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView$c;->a:Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;

    invoke-static {v0}, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->r(Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;)Lcom/esfile/screen/recorder/player/exo/a$g;

    move-result-object v0

    invoke-interface {v0, p1}, Lcom/esfile/screen/recorder/player/exo/a$g;->a(Lcom/esfile/screen/recorder/player/exo/a;)V

    .line 3
    :cond_0
    iget-object p1, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView$c;->a:Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;

    invoke-static {p1}, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->s(Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;)Landroid/widget/MediaController;

    move-result-object p1

    if-eqz p1, :cond_1

    .line 4
    iget-object p1, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView$c;->a:Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;

    invoke-static {p1}, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->s(Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;)Landroid/widget/MediaController;

    move-result-object p1

    const/4 v0, 0x1

    invoke-virtual {p1, v0}, Landroid/widget/MediaController;->setEnabled(Z)V

    .line 5
    :cond_1
    iget-object p1, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView$c;->a:Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;

    invoke-static {p1}, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->t(Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;)I

    move-result p1

    if-eqz p1, :cond_2

    .line 6
    iget-object v0, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView$c;->a:Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;

    invoke-virtual {v0, p1}, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->seekTo(I)V

    .line 7
    :cond_2
    iget-object p1, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView$c;->a:Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;

    invoke-static {p1}, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->u(Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;)F

    move-result p1

    const/high16 v0, 0x3f800000    # 1.0f

    cmpl-float v0, p1, v0

    if-eqz v0, :cond_3

    .line 8
    iget-object v0, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView$c;->a:Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;

    invoke-virtual {v0, p1}, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->setPlaybackSpeed(F)V

    .line 9
    :cond_3
    iget-object p1, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView$c;->a:Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;

    invoke-static {p1}, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->e(Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;)Lcom/esfile/screen/recorder/player/exo/a;

    move-result-object p1

    iget-object v0, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView$c;->a:Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;

    invoke-static {v0}, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->d(Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;)Z

    move-result v0

    invoke-virtual {p1, v0}, Lcom/esfile/screen/recorder/player/exo/a;->a(Z)V

    return-void
.end method
